﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Input;

namespace Super_Pong.BaseClasses
{
    class InputManager
    {
        KeyboardState keyboard;
        MouseState mouse;

        private Controller[] keyControllers = new Controller[600];
        private Controller[] mouseControllers = new Controller[9];

        public InputManager(KeyboardState ks, MouseState ms)
        {
            keyboard = ks;
            mouse = ms;
        }

        public void bindToKey(Controller c, int keyCode){
            keyControllers[keyCode] = c;
        }

        public void bindToMouse(Controller c, int mouseCode)
        {
            mouseControllers[mouseCode] = c;
        }

        public void update()
        {
            for (int i = 0; i < 600;i++ )
            {
                if(keyboard.IsKeyDown(Keys.K)){

                }
            }
        }
    }
}
